/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package carrello;

/**
 *
 * @author v
 */
public class IdVerifier {

     public boolean validate(String id) {
        boolean result = true;

        for (int i = 0; i < id.length(); i++) {
            if (Character.isDigit(id.charAt(i)) == false) {
                result = false;
            }
        }

        return result;
    }
}
